package org.zfes.snowier.cloud.zbss.metting.biz.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class MettingsAttaches extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public MettingsAttaches() {}
	public MettingsAttaches(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

	  private java.lang.Long metId;
	@javax.validation.constraints.NotBlank(message="附件不能为空")
	@javax.validation.constraints.NotNull(message="附件不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="附件长度不能大于255")
	  private java.lang.String file;
	  private java.util.Date updateTime;
	  private java.util.Date createTime;
	@javax.validation.constraints.NotNull(message="状态不能为空")
	  private java.lang.Byte status;
	@javax.validation.constraints.NotBlank(message="附件名称不能为空")
	@javax.validation.constraints.NotNull(message="附件名称不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="附件名称长度不能大于255")
	  private java.lang.String attachName;
 
	
	//<-------------------------------------------->
	public MettingsAttaches setMetId(java.lang.Long metId){
	 this.metId=metId;
	 return this;
	}
	public java.lang.Long getMetId(){
		return this.metId;
	}
	public MettingsAttaches setFile(java.lang.String file){
		this.file=file==null?null:file.trim();
	 return this;
	}
	public java.lang.String getFile(){
		return this.file;
	}
	public MettingsAttaches setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public MettingsAttaches setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public MettingsAttaches setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public MettingsAttaches setAttachName(java.lang.String attachName){
		this.attachName=attachName==null?null:attachName.trim();
	 return this;
	}
	public java.lang.String getAttachName(){
		return this.attachName;
	}

}
